﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ControllerClient
{
    class RandomHelper
    {

        public static string GetRandomString(int iLength)
        {
            string buffer = "01";
            StringBuilder sb = new StringBuilder();
            Random r = new Random();
            int range = buffer.Length;
            for (int i = 0; i < iLength; i++)
            {
                sb.Append(buffer.Substring(r.Next(range),1));
            }
            return sb.ToString();
        }
        public static int GetRandomInt()
        {
            Random ra = new Random();
            int str = ra.Next(1, 99999999);
            return 1;
        }
    }
}
